package com.iamteer.service;

import com.iamteer.entity.Admin;
import com.iamteer.exception.UserExistsException;

/**
 * 业务逻辑层接口设计
 * @author Chuck
 *
 */
public interface IAdminService {
	/**
	 * 注册
	 * @throws UserExistsException 
	 */
	void register(Admin admin) throws UserExistsException;
	
	/**
	 * 登录
	 */
	Admin login(Admin admin);
}
